package com.wang.entity;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.lang.Nullable;

import javax.annotation.Resource;
import javax.annotation.Resources;

/**
 * @Author 19225
 * @create 2020/11/26 0:16
 */
public class People {
    @Resource
    @Nullable
    private Cat cat;
    @Resource
    private Dog dog;
    private String str;

    public Cat getCat() {
        return cat;
    }



    public Dog getDog() {
        return dog;
    }



    public String getStr() {
        return str;
    }

    public void setStr(String str) {
        this.str = str;
    }
}
